﻿<%@ Application Language="C#" %>

<script runat="server">

    void Application_Start(object sender, EventArgs e) 
    {
		// Code that runs on application startup
		//log4net.Config.XmlConfigurator.ConfigureAndWatch(new System.IO.FileInfo(HttpContext.Current.Server.MapPath("/Web.twConfig")));
		new BLL.Encryption("@r%U^Krp#8jP!*&6;4", BLL.HashAlgorithms.MD5, 2, "h5d;g7#1W%@6d$s8", BLL.KeySizes.Ks256, "!:myH*PU)9u0y212q(y#JF`~");
		UrlRouting.MapRoutes(System.Web.Routing.RouteTable.Routes);
    }
    
    void Application_End(object sender, EventArgs e) 
    {
        //  Code that runs on application shutdown

    }
        
    void Application_Error(object sender, EventArgs e) 
    { 
        // Code that runs when an unhandled error occurs

    }

    void Session_Start(object sender, EventArgs e) 
    {
        // Code that runs when a new session is started

    }

    void Session_End(object sender, EventArgs e) 
    {
        // Code that runs when a session ends. 
        // Note: The Session_End event is raised only when the sessionstate mode
        // is set to InProc in the Web.twConfig file. If session mode is set to StateServer 
        // or SQLServer, the event is not raised.

    }
       
</script>
